<?php
/**
 * 小程序路由
 * User: joker
 * Date: 2021/11/1
 * Time: 18:08
 */
use think\Route;

// 管理端
Route::group('web',function(){
    // 上传图片
    Route::post('upload_file','web/Configure/upload_file');

    // 微信授权登录地址
    Route::get('wxLogin','wx/Authorize/getLogin');
    // 发送验证码
    Route::post('send_vcode','move/CardUser/send_vcode');
    // 绑定手机号
    Route::post('bind_phone','move/CardUser/bind_phone');
    // 修改绑定手机号
    Route::post('modify_phone','move/CardUser/modify_phone');
    // 卡片激活
    Route::post('bind_active','move/CardUser/bind_active');
    // 安护无忧卡叠加
    Route::post('bind_active_append','move/CardUser/bind_active_append');
    // 绑定保单号
    Route::post('bind_policy_no','move/CardUser/bind_policy_no');
    // 获取卡片权益列表
    Route::post('get_card_list','move/Equity/get_list');
    // 获取卡片权益信息
    Route::post('card_pro_info','move/Equity/card_pro_info');
    // 本人实名认证
    Route::post('user_authentication','move/User/user_authentication');
    // 添加亲友
    Route::post('add_user_family','move/User/add_user_family');
    // 修改亲友
    Route::post('edit_user_family','move/User/edit_user_family');
    // 获取亲友列表
    Route::post('get_card_user_list','move/CardUser/get_card_user_list');
    // 保存亲友信息
    Route::post('card_set','move/CardUser/card_set');
    Route::get('huiyi','move/CardUser/huiyi');
    // 获取banner列表
    Route::post('get_banner','move/Banner/get_banner');
    // 获取失效权益卡片
    Route::post('invalid_card_list','move/Equity/invalid_card_list');
    // 根据激活码获取卡片信息 
    Route::post('get_card_info','card/card/getCardInfo');
    // 根据卡号获取卡片可激活时间范围
    Route::post('get_card_active_period','card/card/getCardActivePeriod');
    // 阅读权益告知条款
    Route::post('read_card_rights','move/Equity/read_card_rights');
    // 使用权益并填写资料
    Route::post('apply_equity_info','move/Equity/apply_equity_info');
    // 服务列表，权益申请列表
    Route::post('get_apply_equity_info','move/Equity/get_apply_equity_info');
    // 服务详情
    Route::post('get_apply_equity_info_detail','move/Equity/get_apply_equity_info_detail');
    // 获取省市区
    Route::post('get_area_region', 'move/Equity/get_area_region');
    // 获取医院
    Route::post('hospital','move/Equity/hospital');
    // 权益物流列表
    Route::post('get_apply_equity_express','move/Equity/get_apply_equity_express');
    // 权益物流详情
    Route::post('get_apply_equity_express_detail','move/Equity/get_apply_equity_express_detail');
});
